﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Community.CsharpSqlite
{
    class WhereFlag
    {


        /*
    ** Flags appropriate for the wctrlFlags parameter of sqlite3WhereBegin()
    ** and the WhereInfo.wctrlFlags member.
    */
        //#define WHERE_ORDERBY_NORMAL   0x0000 /* No-op */
        //#define WHERE_ORDERBY_MIN      0x0001 /* ORDER BY processing for min() func */
        //#define WHERE_ORDERBY_MAX      0x0002 /* ORDER BY processing for max() func */
        //#define WHERE_ONEPASS_DESIRED  0x0004 /* Want to do one-pass UPDATE/DELETE */
        //#define WHERE_DUPLICATES_OK    0x0008 /* Ok to return a row more than once */
        //#define WHERE_OMIT_OPEN        0x0010  /* Table cursor are already open */
        //#define WHERE_OMIT_CLOSE       0x0020  /* Omit close of table & index cursors */
        //#define WHERE_FORCE_TABLE      0x0040 /* Do not use an index-only search */
        //#define WHERE_ONETABLE_ONLY    0x0080 /* Only code the 1st table in pTabList */
        public const int WHERE_ORDERBY_NORMAL = 0x0000;
        public const int WHERE_ORDERBY_MIN = 0x0001;
        public const int WHERE_ORDERBY_MAX = 0x0002;
        public const int WHERE_ONEPASS_DESIRED = 0x0004;
        public const int WHERE_DUPLICATES_OK = 0x0008;
        public const int WHERE_OMIT_OPEN = 0x0010;
        public const int WHERE_OMIT_CLOSE = 0x0020;
        public const int WHERE_FORCE_TABLE = 0x0040;
        public const int WHERE_ONETABLE_ONLY = 0x0080;
    }
}
